

	


<b>Navn:</b>
	<input type="text" id="input_navn" name="individ_navn" value=""/>
    <?
        // indlæser billeder til JQuery der matcher rettigheder til at oprette element med Submit
       // $data = array('span_id' => 'tjek_navn');
         //$this->load->view("includes/js/tjek_ikoner_view",$data) ;
    ?>

<br>

		<p class="rubrik" style="font-weight:bold;">Født:</p>

		<? 	$birthdata = array (
				"dag" => "dag",
				"maaned" => "maaned",
				"aar" => "aar",
				"alder" => "alder",
				"time" => "time",																
				"minut" => "minut",				
			);
		$this->load->view('forms/tid_ny',$birthdata); ?><input type="checkbox" name="birth" value="check"> uvidst

		<br>

		<p class="rubrik" style="font-weight:bold;">Død:</p>

		<? 	$deathdata = array (
				"dag" => "dag_2",
				"maaned" => "maaned_2",
				"aar" => "aar_2",
				"alder" => "alder_2",
				"time" => "time_2",																
				"minut" => "minut_2",				
			);
		
			$this->load->view('forms/tid_ny',$deathdata); ?><input id="death_disable" type="checkbox" name="death" value="check"> uvidst / ikke endnu
<br><br>
<p class='rubrik'>Æt: 
<?
$e = new element();
$e->find_alle_af_type('race');
$racer = $e->alle_af_type;

?><select name="race" selected><?
foreach($racer as $a)
{
	if($a['id'] == 232) 
	{
?>	
		<option selected value="<? echo $a['id']; ?>"><? echo $a['navn']; ?></option>	
<?
	}
	else{
	?>
		<option value="<? echo $a['id']; ?>"><? echo $a['navn']; ?></option>	
	<?	}
}
?>
</select></p>
<br><br>
<p class='rubrik'>Tilhørsforhold?</p>

<?
$this->load->model('core/gruppe');
$element = new gruppe();
$element->find_alle_grupper();
$alle_grupper = $element->alle_grupper;

?><select id="select_over" name="over"><?
foreach($alle_grupper as $r)
{
	?>
		<option value="<? echo $r['id']; ?>"><? echo $r['navn']; ?></option>	
	<?	
}
?>
</select>
    <?
        // indlæser billeder til JQuery der matcher rettigheder til at oprette element med Submit
        //$data = array('span_id' => 'tjek_over');
        // $this->load->view("includes/js/tjek_ikoner_view",$data) ;
    ?>
<br><br><br>
<input type="hidden" name="aktion" value="opret">




